load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "go_default_library",
    srcs = [
        "bazel.go",
        "runfiledir.go",
        "runfilemanifest.go",
        "runfiles.go",
    ],
    importpath = "github.com/bazelbuild/rules_go/go/tools/bazel",
    visibility = ["//visibility:public"],
)

go_test(
    name = "go_default_test",
    size = "small",
    srcs = [
        "bazel_test.go",
        "runfiles_test.go",
    ],
    data = [
        "README.md",
    ],
    embed = [":go_default_library"],
)
